home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / menus / envmnu11.zip / HOMEMENU.BAT < prev    next >
DOS Batch File  |  1992-11-16  |  8KB  |  432 lines

  1. REM THERE ARE LOT OF REMs HER SO THAT MY HOME MENU DOES NOT REALLY EXECUTE
  2.  
  3. @echo off
  4. REM Undo a Windows game, if one was called
  5. REM GOSUB UndoWinGame
  6. REM GOSUB SlowMouse
  7. REM GOSUB UndoGameTemp
  8.  
  9. set MENU=
  10. :repeat
  11. @echo off
  12. REM c:
  13. REM cd \games
  14. REM mode 80,25
  15. REM mode co80
  16. REM c:\os\drdos6\mode con: rate=20 delay=3
  17. envimenu MENU HOMEMENU.BAT /PRE :~ /COM :! /prompt "What shall we play?"
  18. REM GOSUB ~%MENU%
  19. REM goto repeat
  20. cls
  21. echo  
  22. echo  This menu was just as an example for how we use EnviMenu at home.  Your
  23. echo  option will not really be executed.
  24. echo  
  25. pause
  26. GOTO FINISHED
  27.  
  28. :WinGame
  29. cd %WIN_DIR%
  30. linedel c:\os\win\system.ini "shell="
  31. change c:\os\win\system.ini "[boot]",13,10 "[boot]",13,10,"shell=c:","%WIN_DIR%","\","%WIN_PROG%",13,10
  32. set WIN_DIR=
  33. set WIN_PROG=
  34. call windows
  35. GOSUB UndoWinGame
  36. RETURN
  37.  
  38. :UndoWinGame
  39. cls
  40. c:
  41. cd \
  42. linedel c:\os\win\system.ini "shell="
  43. change c:\os\win\system.ini "[boot]",13,10 "[boot]",13,10,"shell=progman.exe",13,10
  44. RETURN
  45.  
  46. :GameTemp
  47. REM ZIPNAME WILL BE UNZIPPED INTO C:\GAMETEMP
  48. GOSUB UndoGameTemp
  49. pkunzip -o -d %ZIPNAME%
  50. set ZIPNAME=
  51. RETURN
  52.  
  53. :UndoGameTemp
  54. c:
  55. mkdir \GameTemp
  56. cd \GameTemp
  57. attrib *.* -r -h -s /s
  58. xdel *.* /d /s /n
  59. RETURN
  60.  
  61. :~Playroom
  62. :!Alby's first PC game
  63. cd playroom
  64. playroom
  65. RETURN
  66.  
  67. :~MetroGnomes' Music
  68. :!The Sing-Along Game that Enhances Musical Discovery and Creativity
  69. SUBST E: C:\GAMES
  70. E:
  71. CD \TLC\MG
  72. MG
  73. CD \
  74. C:
  75. SUBST E: /d
  76. RETURN
  77.  
  78. :~Mother Goose
  79. :!Help Mother Goose unscramble her mixed-up fairy tales
  80. cd mgoose
  81. d:\sys\superpck /u
  82. sierra
  83. call d:\dskcache.bat
  84. RETURN
  85.  
  86. :~Kid Pix
  87. :!Fun painting
  88. cd kidpix
  89. kidpix
  90. RETURN
  91.  
  92. :~First Letters & Words
  93. :!Learn letters and word, and paint dinosaours too, with the talking bear
  94. cd flw
  95. speech
  96. metawndo
  97. FLW VGA
  98. metawndow /k
  99. freedr
  100. RETURN
  101.  
  102. :~Treasure Mountain
  103. :!Catch elves and solve riddles on the way up Treasure Mountain
  104. cd trsrmntn
  105. sst.exe
  106. RETURN
  107.  
  108. :~Solitaire
  109. set WIN_DIR=\games\wingames
  110. set WIN_PROG=sol.exe
  111. goto WinGame
  112.  
  113. :~Reversi (Othello)
  114. set WIN_DIR=\games\wingames
  115. set WIN_PROG=reversi.exe
  116. goto WinGame
  117.  
  118. :~Word Muncher
  119. :!Munch the words before them pesky &)(*&)$%! can get you
  120. cd wmunch
  121. wm.exe
  122. RETURN
  123.  
  124. :~Tetris
  125. :!Slide the ever-falling shapes into position, Comrade
  126. cd tetris
  127. ctetris.exe
  128. RETURN
  129.  
  130. :~Blockout
  131. :!3-D Tetris: Drop falling block shapes into position
  132. cd blockout
  133. bl.exe
  134. RETURN
  135.  
  136. :~Checkers
  137. :!Play checkers against the computer
  138. set WIN_DIR=\games\wingames
  139. set WIN_PROG=checkers.exe
  140. goto WinGame
  141.  
  142. :~Tom & Jerry
  143. :!Trick the cat before he catches you
  144. cd tom&jerr
  145. tj
  146. RETURN
  147.  
  148. :~McGee
  149. :!Good Morning, McGee.  Good Night, computer (it hangs).
  150. cd mcgee
  151. cp mcgee
  152. RETURN
  153.  
  154. :~Worm War
  155. :~Centipede for Windows
  156. set WIN_DIR=\games\wingames
  157. set WIN_PROG=wormwar.exe
  158. goto WinGame
  159.  
  160. :~Paint Brush
  161. :!Windows' paint
  162. set WIN_DIR=\games\pbrush
  163. set WIN_PROG=pbrush.exe
  164. goto WinGame
  165.  
  166. :~Bricks
  167. :!Breakout for Windows
  168. set WIN_DIR=\games\wingames
  169. set WIN_PROG=brick.exe
  170. goto WinGame
  171.  
  172. :~Jewel Thief
  173. :!Don't get caught mousing around with those jewels
  174. set WIN_DIR=\games\wingames
  175. set WIN_PROG=jwlthief.exe
  176. goto WinGame
  177.  
  178. :~PACMAN
  179. :!WARNING: This game never quits; must reboot computer
  180. cd stuff
  181. pacman.com
  182. RETURN
  183.  
  184. :~Eco-Saurus
  185. :!Turn garbage into a spaceship.
  186. cd ecosaurs
  187. call ecomenu.bat
  188. RETURN
  189.  
  190. :~BASIC Games
  191. :!Choose from a list of less-than-exciting Games in the BASIC language
  192. set ZIPNAME=C:\Games\stuff\basic.zip
  193. GOSUB GameTemp
  194. call boremenu.bat
  195. GOSUB UndoGameTemp
  196. RETURN
  197.  
  198. :~Castle of Dr. Brain
  199. :!Solve Dr. Brain's tests to become his new lab assistant
  200. cd dr_brain
  201. scidhuv.exe
  202. RETURN
  203.  
  204. :~Monkey Island I
  205. cd monkey1
  206. monkey.exe a v mo
  207. RETURN
  208.  
  209. :~Monkey Island II
  210. cd monkey2
  211. d:\sys\superpck /u
  212. memmax -U -L
  213. \utl\install
  214. memmax +U +L
  215. \utl\fakey \r wait 2 \r wait 3 "3" wait 1 "8" wait 1 "1" wait 1 "7"
  216. monkey2.exe a m mo
  217. \utl\fakey \r
  218. \utl\remove
  219. call d:\dskcache.bat
  220. RETURN
  221.  
  222. :~YACHT (Yachtzee)
  223. set WIN_DIR=\games\wingames
  224. set WIN_PROG=yacht.exe
  225. goto WinGame
  226.  
  227. :~Backgammon
  228. set WIN_DIR=\games\wingames
  229. set WIN_PROG=bg.exe
  230. goto WinGame
  231.  
  232. :~Word Tris
  233. cd wordtris
  234. wordtris v s
  235. RETURN
  236.  
  237. :~The Colonel's Bequest
  238. call mymode 25
  239. echo The Colonel's Bequest is configured to run off of floppy disk, and so
  240. echo it is rather low.  The saved games are on a disk labeled 'Bequest Save
  241. echo Games'.  If you wish to play then insert disk 1 of 4 into drive A: and
  242. echo press 'Y', else press 'N'
  243. echo Do you want to play The Colonel's Bequest? (Y/N)
  244. keyready empty_the_buffer
  245. key yn
  246. if errorlevel 1 EXIT
  247. a:
  248. cd a:\
  249. sierra
  250. RETURN
  251.  
  252. :~Number Muncher
  253. :!Don't let the )#&$(($'s get you before you get their number
  254. cd nmunch
  255. call nmunch.bat
  256. RETURN
  257.  
  258. :~Typing Attack
  259. :!Save the city from those nasty letters; learn the keyboard positions
  260. cd stuff
  261. tattack.exe
  262. RETURN
  263.  
  264. :~Word Ladders
  265. call mymode 25
  266. cd wladder
  267. ladder.exe
  268. RETURN
  269.  
  270. :~EcoQuest
  271. :!Help a dolphin save Cetus and the underwater kingdom
  272. cd ecoquest
  273. scidhuv.exe
  274. RETURN
  275.  
  276. :~King's Quest V
  277. :!King Graham of Daventry searches for his stolen castle
  278. cd kq5
  279. sierra -v
  280. RETURN
  281.  
  282. :~LEXI CROSS
  283. :!Wheel of Fortune, 2090
  284. cd lexicros
  285. call lexicros.bat
  286. RETURN
  287.  
  288. :~Lemmings
  289. :!These things are SO STUPID they make my head explode
  290. cd lemmings
  291. memmax -U -L
  292. \utl\install
  293. memmax +U +L
  294. fakey "2"
  295. VGALEMMI -v
  296. fakey \r
  297. \utl\remove
  298. RETURN
  299.  
  300. :~Loom
  301. cd loom
  302. loom.exe a v
  303. RETURN
  304.  
  305. :~DARKSEED
  306. :!Nightmares and daytrips with H.R.Giger
  307. cd darkseed
  308. call darkseed.bat
  309. RETURN
  310.  
  311. :~Robin Hood
  312. cd robin_h
  313. scidhuv.exe
  314. RETURN
  315.  
  316. :~CastleVania
  317. :!Travel, whip in hand, to Dracula's castle.
  318. cd castle.van
  319. call menu.bat
  320. RETURN
  321.  
  322. :~X■TRON
  323. :!Space Invaders
  324. cd xtron
  325. xtron
  326. RETURN
  327.  
  328. :~Metal Gear
  329. :!Machismo, racism, and violence.
  330. cd metlgear
  331. play
  332. RETURN
  333.  
  334. :~Shultz's Treasure
  335. :!Walk inside a maze to find the gold mine.
  336. cd shultz.trs
  337. shultz
  338. RETURN
  339.  
  340. :~Tank
  341. :!2 to 3 players shoot at each other from tanks
  342. set ZIPNAME=C:\Games\stuff\Tankkk.zip
  343. GOSUB GameTemp
  344. copy C:\Games\stuff\Tankkk.dat C:\GameTemp\GameDat
  345. tankkk.exe
  346. copy C:\GameTemp\GameDat C:\Games\stuff\Tankkk.Dat
  347. GOSUB UndoGameTemp
  348. RETURN
  349.  
  350. :~Commander Keen
  351. :!Help 8-year-old Commander Keen.  Part 1 of the trilogy.  Press F4 for Joystick.
  352. cd keen1
  353. keen1
  354. RETURN
  355.  
  356. :~Bananoid
  357. :!Bouncy bouncy bouncy bouncy fun fun fun fun fun
  358. set ZIPNAME=C:\Games\stuff\bananoid.zip
  359. GOSUB GameTemp
  360. echo Yes > YesNo.tmp
  361. echo No >> YesNo.tmp
  362. :MoreBananoid
  363. bananoid
  364. set PLAYAGAIN=No
  365. envimenu PLAYAGAIN YesNo.tmp /Prompt "Play again" /Time 5
  366. if %PLAYAGAIN% == Yes GOTO MoreBananoid
  367. GOSUB UndoGameTemp
  368. set PLAYAGAIN=
  369. RETURN
  370.  
  371. :~Brix
  372. :!Put matching bricks together
  373. set ZIPNAME=C:\Games\stuff\brix.zip
  374. GOSUB GameTemp
  375. copy c:\Games\stuff\brix.hi c:\GameTemp\high 
  376. brix
  377. copy c:\GameTemp\high c:\Games\stuff\brix.hi
  378. GOSUB UndoGameTemp
  379. RETURN
  380.  
  381. :~Troika
  382. :!Three russian games
  383. cd troika
  384. troika a
  385. RETURN
  386.  
  387. :~New Memory
  388. :!New version of memory that Brent's been working on
  389. cd \memory
  390. call play.bat
  391. RETURN
  392.  
  393. :~Fast Mouse
  394. :!Turn mouse into Speedy Gonzales
  395. :FastMouse
  396. c:\utl\mouse.com /s40 > nul:
  397. change c:\os\win\win.ini "MouseSpeed=0" "MouseSpeed=2"
  398. RETURN
  399.  
  400. :~Slow Mouse
  401. :!Slow mouse down for greater control
  402. :SlowMouse
  403. c:\utl\mouse.com /s19 > nul:
  404. change c:\os\win\win.ini "MouseSpeed=2" "MouseSpeed=0"
  405. RETURN
  406.  
  407. :~DOS
  408. :!Leave GAME menu and return to the DR-DOS Operating System; NOT GAME STUFF
  409. REM GOSUB FastMouse
  410. set MENU=
  411. call mymode
  412. EXIT
  413.  
  414. :~Utilities
  415. :!Computer tools; NOT GAME STUFF
  416. call XtraMenu.bat
  417. RETURN
  418.  
  419. :~Windows
  420. :!Transfer control to the Microsoft Windows Environment
  421. call windows.bat
  422. RETURN
  423.  
  424. :~CD-ROM
  425. :!Run from CD
  426. call CDMENU.BAT
  427. RETURN
  428.  
  429.  
  430. :FINISHED
  431.  
  432.